// samsting : this file is auto create.

#include "Ram/2015-05-01/ListGroupsForUserResponse.h"

namespace aliyun { namespace Ram {

ListGroupsForUserResponse::ListGroupsForUserResponse() {
}

const string& ListGroupsForUserResponse::Group::GetGroupName(void) const {
  return GroupName_;
}

const string& ListGroupsForUserResponse::Group::GetComments(void) const {
  return Comments_;
}

const string& ListGroupsForUserResponse::Group::GetJoinDate(void) const {
  return JoinDate_;
}

const std::vector<ListGroupsForUserResponse::Group>& ListGroupsForUserResponse::GetGroups(void) const {
  return Groups_;
}

const char* ListGroupsForUserResponse::BaseKey(void) {
  return "ListGroupsForUserResponse";
}

void ListGroupsForUserResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Groups__length = 0;
  UnmarshallerInt(Groups__length, response_map, "ListGroupsForUserResponse.Groups.Length");
  if(Groups__length >= 0) {
    Groups_.resize(Groups__length);
    for(int i1 = 0; i1 < Groups__length; i1++) {
      UnmarshallerString(Groups_[i1].GroupName_, response_map, "ListGroupsForUserResponse.Groups["+string_ValueOfInt(i1)+"].GroupName");
      UnmarshallerString(Groups_[i1].Comments_, response_map, "ListGroupsForUserResponse.Groups["+string_ValueOfInt(i1)+"].Comments");
      UnmarshallerString(Groups_[i1].JoinDate_, response_map, "ListGroupsForUserResponse.Groups["+string_ValueOfInt(i1)+"].JoinDate");
    } // for(int i1 = 0; i1 < Groups__length; i1++) {
  } // if(Groups__length >= 0) {

}


} } // namespace aliyun { namespace Ram {

// end of file 
